package com.icas.exception;

/**
 *
 * 判断JSON格式是否合法,不合法则抛出JSONFormatException
 *
 * @author tocchen
 * @date 2022/6/19 12:27
 * @since jdk 1.8
 **/
public class JsonFormatException extends RuntimeException {

    static final long serialVersionUID = -1234828097987766939L;

    public JsonFormatException() {
        this("JSON格式异常");
    }

    public JsonFormatException(String message) {
        super(message);
    }
}
